Try to improve the performance of rendering many empty paragraphs#44606
Try to improve the performance of rendering many empty paragraphs#44606kevin940726 wants to merge 2 commits into
Conversation
|
Size Change: -104 B (0%) Total Size: 1.27 MB
ℹ️ View Unchanged
|
1b78359 to
039286a
Compare
talldan
left a comment
There was a problem hiding this comment.
The block select performance tests for #42722 showed:
- trunk: '103.58 ms'
- #42722: '477.16 ms'
And this PR is showing:
- trunk: '722.35 ms'
- #44606: '96.7 ms'
So it seems like this should return things to the level they were before.
It tests well too, so I'd be happy to see this merged and then it should be possible to verify the performance results when there's more data
|
Seems like this current approach won't work cause it will mark every paragraph element as a "drop zone", which somehow breaks the other drag-and-drop feature. I'll try to find out if there's another way. |
Is it because I guess it would still be possible to conditionally set the |
|
Made obsolete by #44647. |

What?
A follow-up to #42722 to improve the select performance when rendering a large number of empty paragraphs at the same time.
Why?
How?
Testing Instructions
Screenshots or screencast